USAGE: thinw inimg outimg [-k MASK_SIZE] [-d] [-L]
thinw performs iterative thinning of binary objects in input
image to produce skeleton image with values OFF (0) ON (255);
skeleton pixel values are widths of the original image lines.
ARGUMENTS:
inimg: input image filename (TIF)
outimg: output image filename (TIF)
OPTIONS:
-k MASK_SIZE: window size for kxk mask;(k>=3, default =
3
-d: display results of each iteration
this only displays for images <= 40x40 to
fit on screen.
-L: print Software License for this module
NOTE: the image output values are the following:
-- thinned lines -- width value plus offset of 152
-- off -- 0
-- on -- 255
Example:
thinw magstrp.tif magstrpTHW.tif
magstrp.tif:
magstrpTHW.tif:
Copyright (C) 1999 MLMSoftware Group, LLC.